#ifndef QPROPERTYUNDOCOMMAND_H
#define QPROPERTYUNDOCOMMAND_H

#include "../corelibglobal.h"
#include "qabstractundocommand.h"

#define PROPERTY_UNDO_ID    1000

namespace CORELIB
{

    class CORELIB_EXPORT QPropertyUndoCommand : public QAbstractUndoCommand
    {
    public:
        QPropertyUndoCommand(const QMap<QString,QVariant> &param,QUndoCommand *parent=0);

        int id()const;

        bool mergeWith(const QUndoCommand *other);
    };

}

#endif // QPROPERTYUNDOCOMMAND_H
